<%@ include file="include.jsp" %>
<!-- start main page -->

<div id="content-wrap">
<div id="main">

<h3><b>${drug.name}'s User Reviews</b></h3>
<c:forEach var="review" items="${reviewList}">
<hr />
<h4>Review number ${review.id} - <c:choose> 
  <c:when test='${review.positiveReview}'> 
     <FONT COLOR="green"><b>Positive experience</b></FONT>
  </c:when> 
  <c:otherwise> 
    <FONT COLOR="red"><b>Negative experience</b></FONT>
  </c:otherwise> 
</c:choose> </h4>
<ul>
<li>Rating: ${review.rating}</li>
<li>Reason for taking this medication: ${review.reasonForTaking}</li>
<li>User review: ${review.reviewText}</li>
<li>Review submitted on: ${review.date}</li>
</ul>
</c:forEach>


<div id="sidebar">
<div style="text-align: left;">
</div>
</div>
</div>





<!-- end main page -->
